package com.dave.admin;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 启动类
 *
 * @author Dave
 */
@EnableAsync
@SpringBootApplication(scanBasePackages = "com.dave")
public class BossAdminApplication {
    private final static Logger logger = LoggerFactory.getLogger(BossAdminApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(BossAdminApplication.class, args);
        logger.info(BossAdminApplication.class.getSimpleName() + " 启动成功!");
    }

}
